package com.ruoyi.weixin.entity;

import java.util.Date;

import java.io.Serializable;
import java.util.List;

import com.alibaba.fastjson2.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * (Frents)表实体类
 *
 * @author makejava
 * @since 2023-12-23 09:56:40
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("frents")
public class Frents {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private String userName;

    private String picUrl;

    private String freDesc;


    //    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

    private Integer status;

    @TableField(exist = false)
    private List<String> urls;

    @TableField(exist = false)
    private List<String> goods;

    @TableField(exist = false)
    private List<Article> articleList;

    @TableField(exist = false)
    private int articleCount;

    @TableField(exist = false)
    private int goodsCount;
    @TableField(exist = false)
    String colorAble;
}
